package aryn.mapEditor;

import aryn.framework.display.MyCanvas;

public class Example {

	public static void main(String[] args) {
		int boardWidth = Config.getScreenWidth() - Config.getMenuWidth();
		int sw = Config.getScreenWidth();
		int sh = Config.getScreenHeight();
		
		Menu menu = new Menu("menu", 0, 0, Config.getMenuWidth(), sh);
		Board board = new Board("board", Config.getMenuWidth(), 0, boardWidth, sh);
		
		MyCanvas frame = new MyCanvas(sw, sh, 100, board);
		frame.add(menu);
	}
}
